package com.xin.di.uav.applet.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 航站
 * </p>
 *
 * @author LTQ
 * @since 2023-04-12
 */
@ApiModel(value = "Airport对象", description = "航站")
public class Airport implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @ApiModelProperty("航站名称")
    private String name;

    @ApiModelProperty("航站代码")
    private String code;

    @ApiModelProperty("航站经度")
    private Double longitude;

    @ApiModelProperty("航站纬度")
    private Double latitude;

    @ApiModelProperty("航站负责人")
    private String managerName;

    @ApiModelProperty("航站管理员手机号")
    private String managerPhone;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }


    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public String getManagerName() {
        return managerName;
    }

    public void setManagerName(String managerName) {
        this.managerName = managerName;
    }

    public String getManagerPhone() {
        return managerPhone;
    }

    public void setManagerPhone(String managerPhone) {
        this.managerPhone = managerPhone;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }



    @Override
    public String toString() {
        return "Airport{" +
                "id = " + id +
                ", name = " + name +
                ", code = " + code +
                ", longitude = " + longitude +
                ", latitude = " + latitude +
                ", managerName = " + managerName +
                ", managerPhone = " + managerPhone +
                ", createTime = " + createTime +
                ", updateTime = " + updateTime +
                "}";
    }
}
